package ntd.util.frame.haikang.controller.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import ntd.util.config.common.enums.protocol.EnumStreamUrlProtocol;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Schema(description = "海康请求入参")
public class HaiKangGetStreamUrlInBO {

    /** 渠道商id, 对应数据表渠道商 */
    @NotBlank
    @Schema(description = "渠道商id")
    private String channelBusinessId;

    /** 视频 key */
    @NotBlank
    @Schema(description = "视频cameraIndexCode")
    private String cameraIndexCode;

    /** 协议类型 */
    @NotNull
    @Schema(description = "取流协议类型")
    private EnumStreamUrlProtocol streamUrlProtocol;

}
